package com.hualan.sfzy.mapper;

import com.hualan.sfzy.model.entity.PsychologyTitleOption;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Ahao
 * @description 针对表【psychology_titel_option】的数据库操作Mapper
 * @createDate 2025-07-03 17:40:05
 * @Entity com.hualan.domain.PsychologyTitelOption
 */
@Mapper
public interface PsychologyTitleOptionMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(PsychologyTitleOption record);

    int insertSelective(PsychologyTitleOption record);

    PsychologyTitleOption selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PsychologyTitleOption record);

    int updateByPrimaryKey(PsychologyTitleOption record);

    /*单个删除*/
    int deletePsychologyTitelOptionById(Integer id);

    /*批量删除*/
    int deleteBatchPsychologyTitelOption(List<Integer> ids);

    /*查询所有*/
    List<PsychologyTitleOption> selectAll();

    /*根据外键id查询*/
    List<PsychologyTitleOption> selectByTestTitleId(Integer testTitleId);


}
